package com.ttxs.fileformathandling.service.inner;


import com.ttxs.apicommon.service.InnerUserApiService;

import com.ttxs.fileformathandling.service.UserApiInfoService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

/**
 * @author cwt
 * @version 1.0
 */
@DubboService
public class InnerUserApiServiceImpl implements InnerUserApiService {

    @Resource
    private UserApiInfoService userApiInfoService;

    @Override
    public boolean invokeCount(long apiId, long userId) {
        return userApiInfoService.invokeCount(apiId,userId);
    }
}
